Lua/Client/Render/Functions/DrawLine
From JC2-MP Documentation
2D
Returns | none |
---|---|
Prototype | Render:DrawLine(Vector2 point1, Vector2 point2, Color draw_color) |
Description | Draws a one-pixel thick line from point1 to point2 in the given color in 2D space. |
3D
Returns | none |
---|---|
Prototype | Render:DrawLine(Vector3 point1, Vector3 point2, Color draw_color) |
Description | Draws a one-pixel thick line from point1 to point2 in the given color in 3D space. |